var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var HtmlControlJS = { oldOnResize: null, loadedFrames: {}, resizeFrames: {}, content: {}, loadFrame: function(id, content, lcid, build) { if (! HtmlControlJS.loadedFrames[id]) // If it has already been loaded, then don't reload it. { if (content == null) { content = HtmlControlJS.content[id]; } else { HtmlControlJS.content[id] = content; } try { var iframe = window.document.getElementById(id); if ((iframe.style.height == '0px') || (iframe.style.height == '') || (iframe.style.height == 'auto')) { HtmlControlJS.resizeFrames[id] = true; } var iframeDoc = (iframe.contentWindow || iframe.contentDocument); if (iframeDoc.document) iframeDoc = iframeDoc.document; // if we have a window ref get a doc ref HtmlControlJS.writeDocument(iframeDoc, content, lcid, build); setTimeout("HtmlControlJS.resizeFrame('"+id+"');", 0); // delay reizeFrame() call to give FireFox a chance to load the dom. } catch(LoadException) { setTimeout("HtmlControlJS.loadFrame('"+id+"', null, "+lcid+", '"+build+"');", 5); return; } HtmlControlJS.loadedFrames[id] = true; HtmlControlJS.content[id] = null; // Capture the window onResize event if this is the first HTML control loaded. // var size = 0; for(var x in HtmlControlJS.loadedFrames) { size++; } if (size == 1) { HtmlControlJS.oldOnResize = window.onresize; window.onresize = HtmlControlJS.onResize; } } }, onResize: function() { if (typeof(HtmlControlJS.oldOnResize) == 'function') { HtmlControlJS.oldOnResize(); } for(var id in HtmlControlJS.loadedFrames) { HtmlControlJS.resizeFrame(id); } }, resizeFrame: function(id) { if (HtmlControlJS.resizeFrames[id]) { var iframe = window.document.getElementById(id); var iframeDoc = (iframe.contentWindow || iframe.contentDocument); if (iframeDoc.document) iframeDoc = iframeDoc.document; // if we have a window reference get a document reference. if ((iframeDoc.readyState && (iframeDoc.readyState == 'complete')) || (!iframeDoc.readyState && iframeDoc.body)) { var docHeight = iframeDoc.body.scrollHeight; iframe.style.height = docHeight + 'px'; } else { setTimeout("HtmlControlJS.resizeFrame('"+id+"');", 5); // delay reizeFrame() call to give FireFox a chance to load the dom. return; } } }, writeDocument: function(doc, content, lcid, build) { doc.open(); doc.writeln(''); doc.writeln(''); doc.writeln(''); doc.writeln('none'); doc.writeln(''); doc.writeln(''); // This file is not cached, so no versioning doc.writeln(''); doc.writeln(''); doc.writeln(''); doc.writeln(content); doc.writeln(''); doc.writeln(''); doc.close(); } }; } /* FILE ARCHIVED ON 05:20:08 Apr 19, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 04:54:59 Feb 08, 2021. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): exclusion.robots: 0.237 captures_list: 55.92 CDXLines.iter: 19.858 (3) esindex: 0.015 load_resource: 96.457 exclusion.robots.policy: 0.209 PetaboxLoader3.datanode: 48.576 (4) PetaboxLoader3.resolve: 28.241 LoadShardBlock: 31.804 (3) RedisCDXSource: 0.73 */